package com.mbbb.dao;

import com.github.pagehelper.Page;
import com.mbbb.pojo.TravelItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelItemDao {
    void add(TravelItem travelItem);

    Page findPage(String queryString);

    TravelItem get(Integer id);

    void update(TravelItem travelItem);

    void delete(Integer id);

    int findTravelGroupTravelItemIdByTravelItemId(Integer id);

    List<TravelItem> findAll();
}
